/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.inventory.helperbeans;

import java.util.ArrayList;
import java.util.Collection;

/**
 *
 * @author maha
 */
public class UserRolesAndStorePriviliges {

    private int userId;
    private Boolean activeRecord;
    private Collection<UserRole> userRole = new ArrayList<UserRole>();
    private Collection<UserStorePrivilegeses> userStorePriv = new ArrayList<UserStorePrivilegeses>();

    public UserRolesAndStorePriviliges() {
    }

    public UserRolesAndStorePriviliges(int userId, Collection<UserRole> userRole, Collection<UserStorePrivilegeses> userStorePriv) {
        this.userId = userId;
        this.userRole = userRole;
        this.userStorePriv = userStorePriv;
    }

    public int getUserId() {
        return userId;
    }

    public Boolean getActiveRecord() {
        return activeRecord;
    }

    public void setActiveRecord(Boolean activeRecord) {
        this.activeRecord = activeRecord;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public Collection<UserRole> getUserRole() {
        return userRole;
    }

    public void setUserRole(Collection<UserRole> userRole) {
        this.userRole = userRole;
    }

    public Collection<UserStorePrivilegeses> getUserStorePriv() {
        return userStorePriv;
    }

    public void setUserStorePriv(Collection<UserStorePrivilegeses> userStorePriv) {
        this.userStorePriv = userStorePriv;
    }

    @Override
    public String toString() {
        return "UserRolesAndStorePriviliges{" + "userId=" + userId + ", userRole=" + userRole + ", userStorePriv=" + userStorePriv + '}';
    }
}
